Integrand size = 24, antiderivative size = 168 \[ \int \left (7+5 x^2\right )^2 \sqrt {2+3 x^2+x^4} \, dx=\frac {31 x \left (2+x^2\right )}{\sqrt {2+3 x^2+x^4}}+\frac {1}{21} x \left (407+114 x^2\right ) \sqrt {2+3 x^2+x^4}+\frac {25}{7} x \left (2+3 x^2+x^4\right )^{3/2}-\frac {31 \sqrt {2} \left (1+x^2\right ) \sqrt {\frac {2+x^2}{1+x^2}} E\left (\arctan (x)\left |\frac {1}{2}\right .\right )}{\sqrt {2+3 x^2+x^4}}+\frac {472 \sqrt {2} \left (1+x^2\right ) \sqrt {\frac {2+x^2}{1+x^2}} \operatorname {EllipticF}\left (\arctan (x),\frac {1}{2}\right )}{21 \sqrt {2+3 x^2+x^4}} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 168, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {1220, 1190, 1203, 1113, 1149} \[ \int \left (7+5 x^2\right )^2 \sqrt {2+3 x^2+x^4} \, dx=\frac {472 \sqrt {2} \left (x^2+1\right ) \sqrt {\frac {x^2+2}{x^2+1}} \operatorname {EllipticF}\left (\arctan (x),\frac {1}{2}\right )}{21 \sqrt {x^4+3 x^2+2}}-\frac {31 \sqrt {2} \left (x^2+1\right ) \sqrt {\frac {x^2+2}{x^2+1}} E\left (\arctan (x)\left |\frac {1}{2}\right .\right )}{\sqrt {x^4+3 x^2+2}}+\frac {25}{7} x \left (x^4+3 x^2+2\right )^{3/2}+\frac {1}{21} x \left (114 x^2+407\right ) \sqrt {x^4+3 x^2+2}+\frac {31 x \left (x^2+2\right )}{\sqrt {x^4+3 x^2+2}} \]
[In]
[Out]
Rule 1113
Rule 1149
Rule 1190
Rule 1203
Rule 1220
Rubi steps \begin{align*} \text {integral}& = \frac {25}{7} x \left (2+3 x^2+x^4\right )^{3/2}+\frac {1}{7} \int \left (293+190 x^2\right ) \sqrt {2+3 x^2+x^4} \, dx \\ & = \frac {1}{21} x \left (407+114 x^2\right ) \sqrt {2+3 x^2+x^4}+\frac {25}{7} x \left (2+3 x^2+x^4\right )^{3/2}+\frac {1}{105} \int \frac {4720+3255 x^2}{\sqrt {2+3 x^2+x^4}} \, dx \\ & = \frac {1}{21} x \left (407+114 x^2\right ) \sqrt {2+3 x^2+x^4}+\frac {25}{7} x \left (2+3 x^2+x^4\right )^{3/2}+31 \int \frac {x^2}{\sqrt {2+3 x^2+x^4}} \, dx+\frac {944}{21} \int \frac {1}{\sqrt {2+3 x^2+x^4}} \, dx \\ & = \frac {31 x \left (2+x^2\right )}{\sqrt {2+3 x^2+x^4}}+\frac {1}{21} x \left (407+114 x^2\right ) \sqrt {2+3 x^2+x^4}+\frac {25}{7} x \left (2+3 x^2+x^4\right )^{3/2}-\frac {31 \sqrt {2} \left (1+x^2\right ) \sqrt {\frac {2+x^2}{1+x^2}} E\left (\tan ^{-1}(x)|\frac {1}{2}\right )}{\sqrt {2+3 x^2+x^4}}+\frac {472 \sqrt {2} \left (1+x^2\right ) \sqrt {\frac {2+x^2}{1+x^2}} F\left (\tan ^{-1}(x)|\frac {1}{2}\right )}{21 \sqrt {2+3 x^2+x^4}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 5.69 (sec) , antiderivative size = 114, normalized size of antiderivative = 0.68 \[ \int \left (7+5 x^2\right )^2 \sqrt {2+3 x^2+x^4} \, dx=\frac {1114 x+2349 x^3+1724 x^5+564 x^7+75 x^9-651 i \sqrt {1+x^2} \sqrt {2+x^2} E\left (\left .i \text {arcsinh}\left (\frac {x}{\sqrt {2}}\right )\right |2\right )-293 i \sqrt {1+x^2} \sqrt {2+x^2} \operatorname {EllipticF}\left (i \text {arcsinh}\left (\frac {x}{\sqrt {2}}\right ),2\right )}{21 \sqrt {2+3 x^2+x^4}} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 1.93 (sec) , antiderivative size = 133, normalized size of antiderivative = 0.79
method | result | size |
risch | \(\frac {x \left (75 x^{4}+339 x^{2}+557\right ) \sqrt {x^{4}+3 x^{2}+2}}{21}-\frac {472 i \sqrt {2}\, \sqrt {2 x^{2}+4}\, \sqrt {x^{2}+1}\, F\left (\frac {i \sqrt {2}\, x}{2}, \sqrt {2}\right )}{21 \sqrt {x^{4}+3 x^{2}+2}}+\frac {31 i \sqrt {2}\, \sqrt {2 x^{2}+4}\, \sqrt {x^{2}+1}\, \left (F\left (\frac {i \sqrt {2}\, x}{2}, \sqrt {2}\right )-E\left (\frac {i \sqrt {2}\, x}{2}, \sqrt {2}\right )\right )}{2 \sqrt {x^{4}+3 x^{2}+2}}\) | \(133\) |
default | \(\frac {557 x \sqrt {x^{4}+3 x^{2}+2}}{21}-\frac {472 i \sqrt {2}\, \sqrt {2 x^{2}+4}\, \sqrt {x^{2}+1}\, F\left (\frac {i \sqrt {2}\, x}{2}, \sqrt {2}\right )}{21 \sqrt {x^{4}+3 x^{2}+2}}+\frac {31 i \sqrt {2}\, \sqrt {2 x^{2}+4}\, \sqrt {x^{2}+1}\, \left (F\left (\frac {i \sqrt {2}\, x}{2}, \sqrt {2}\right )-E\left (\frac {i \sqrt {2}\, x}{2}, \sqrt {2}\right )\right )}{2 \sqrt {x^{4}+3 x^{2}+2}}+\frac {25 x^{5} \sqrt {x^{4}+3 x^{2}+2}}{7}+\frac {113 x^{3} \sqrt {x^{4}+3 x^{2}+2}}{7}\) | \(155\) |
elliptic | \(\frac {557 x \sqrt {x^{4}+3 x^{2}+2}}{21}-\frac {472 i \sqrt {2}\, \sqrt {2 x^{2}+4}\, \sqrt {x^{2}+1}\, F\left (\frac {i \sqrt {2}\, x}{2}, \sqrt {2}\right )}{21 \sqrt {x^{4}+3 x^{2}+2}}+\frac {31 i \sqrt {2}\, \sqrt {2 x^{2}+4}\, \sqrt {x^{2}+1}\, \left (F\left (\frac {i \sqrt {2}\, x}{2}, \sqrt {2}\right )-E\left (\frac {i \sqrt {2}\, x}{2}, \sqrt {2}\right )\right )}{2 \sqrt {x^{4}+3 x^{2}+2}}+\frac {25 x^{5} \sqrt {x^{4}+3 x^{2}+2}}{7}+\frac {113 x^{3} \sqrt {x^{4}+3 x^{2}+2}}{7}\) | \(155\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.10 (sec) , antiderivative size = 58, normalized size of antiderivative = 0.35 \[ \int \left (7+5 x^2\right )^2 \sqrt {2+3 x^2+x^4} \, dx=\frac {-651 i \, x E(\arcsin \left (\frac {i}{x}\right )\,|\,2) + 1595 i \, x F(\arcsin \left (\frac {i}{x}\right )\,|\,2) + {\left (75 \, x^{6} + 339 \, x^{4} + 557 \, x^{2} + 651\right )} \sqrt {x^{4} + 3 \, x^{2} + 2}}{21 \, x} \]
[In]
[Out]
\[ \int \left (7+5 x^2\right )^2 \sqrt {2+3 x^2+x^4} \, dx=\int \sqrt {\left (x^{2} + 1\right ) \left (x^{2} + 2\right )} \left (5 x^{2} + 7\right )^{2}\, dx \]
[In]
[Out]
\[ \int \left (7+5 x^2\right )^2 \sqrt {2+3 x^2+x^4} \, dx=\int { \sqrt {x^{4} + 3 \, x^{2} + 2} {\left (5 \, x^{2} + 7\right )}^{2} \,d x } \]
[In]
[Out]
\[ \int \left (7+5 x^2\right )^2 \sqrt {2+3 x^2+x^4} \, dx=\int { \sqrt {x^{4} + 3 \, x^{2} + 2} {\left (5 \, x^{2} + 7\right )}^{2} \,d x } \]
[In]
[Out]
Timed out. \[ \int \left (7+5 x^2\right )^2 \sqrt {2+3 x^2+x^4} \, dx=\int {\left (5\,x^2+7\right )}^2\,\sqrt {x^4+3\,x^2+2} \,d x \]
[In]
[Out]